package com.company.cloud.user.modules.base.mapper;

import com.company.cloud.user.modules.base.entity.UserInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.company.cloud.user.modules.cache.models.ArtistInfoModel;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 1_用户信息表  Mapper 接口
 * </p>
 *
 * @author anros
 * @since 2020-06-11
 */
public interface UserInfoMapper extends BaseMapper<UserInfo> {

    @Select("SELECT * from art_artist_info where user_id = #{id} and rows_state=1 ;")
    ArtistInfoModel selectByArtistInfoById(Integer id);

}
